<?php


namespace app\common\model;


use think\Model;

class Cards extends Model
{
 protected $pk='cardid';

 function member(){
     return $this->hasOne('Member','memid','memid')->bind(['memname'=>'name','mobile']);
 }
}